package com.java.common.base.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DefaultSearchBean implements SearchBean {
	
	private List<String> orders = new ArrayList<String>();
	
	private String name;
	/**
	 * 用户Id
	 */
	private String userId;
	/**
	 * 用户组ID集合
	 */
	private String[] groupIdArray;
	/**
	 * 部门ID集合
	 */
	private String[] orgIdArray;
	/**
	 * 部门Code集合
	 */
	private String[] orgCodeArray;

	/**
	 * 用户可访问的系统集合
	 */
	private String[] systemCodeArray;
	/**
	 * 开始时间
	 */
	private Date startDate;
	/**
	 * 结束时间
	 */
	private Date endDate;

	public List<String> getOrders() {
		return orders;
	}

	public void setOrders(List<String> orders) {
		this.orders = orders;
	}


	public void addOrder(String order) {
		this.orders.add(order);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String[] getOrgIdArray() {
		return orgIdArray;
	}

	public void setOrgIdArray(String[] orgIdArray) {
		this.orgIdArray = orgIdArray;
	}

	public String[] getSystemCodeArray() {
		return systemCodeArray;
	}

	public void setSystemCodeArray(String[] systemCodeArray) {
		this.systemCodeArray = systemCodeArray;
	}

	public String[] getGroupIdArray() {
		return groupIdArray;
	}

	public void setGroupIdArray(String[] groupIdArray) {
		this.groupIdArray = groupIdArray;
	}

	public String[] getOrgCodeArray() {
		return orgCodeArray;
	}

	public void setOrgCodeArray(String[] orgCodeArray) {
		this.orgCodeArray = orgCodeArray;
	}
}
